package com.ihr360.shared.exceptionmail.entity;


import com.sun.corba.se.spi.ior.ObjectId;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by Eric on 18-6-8.
 */
public abstract class BaseDocument implements Serializable {
    private ObjectId id;
    private Date createdDate = new Date();

    public final ObjectId getId() {
        return id;
    }

    public final void setId(ObjectId id) {
        this.id = id;
    }

    public final Date getCreatedDate() {
        return createdDate;
    }

    public final void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }
}
